﻿function clickSearch(str) {
    let searchStr = str == null || str == '' ? $("#search-input").val() : str;
    if (searchStr.trim() == '') return;
    // 跳转到指定的 URL 地址
    location.href = "/Search/Index?searchStr=" + searchStr +"&page=1&categoryID=0&amount=0&parentCategoryID=0&cityID=0";
}